home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / share / cups / templates / printers.tmpl < prev    next >
Text File  |  2008-10-20  |  4KB  |  67 lines

  1. {printer_type?:}{#printer_name=0?:
  2. {[printer_name]
  3. <H2 CLASS="title"><A HREF="{printer_uri_supported}">{printer_name}</A>{default_name={printer_name}? (Default Printer):}
  4. {?printer_state_message=?:<SPAN CLASS="message">"{printer_state_message}"</SPAN>}</H2>
  5.  
  6. <TABLE WIDTH="100%" CLASS="button" CELLSPACING="0" CELLPADDING="0" SUMMARY="{printer_name}">
  7. <TR>
  8. <TD VALIGN="TOP"><A HREF="{printer_uri_supported}">
  9. <IMG SRC="/images/printer-{printer_state=3?idle:{printer_state=4?processing:stopped}}.gif" CLASS="button" ALT=""></A>
  10. </TD>
  11. <TD VALIGN="TOP"><B>Description:</B> {printer_info}<BR>
  12. <B>Location:</B> {printer_location}<BR>
  13. <B>Printer Driver:</B> {printer_make_and_model}<BR>
  14. <B>Printer State:</B> {printer_state=3?idle:{printer_state=4?processing:stopped}},
  15. {printer_is_accepting_jobs=0?rejecting jobs:accepting jobs}, {printer_is_shared=0?not:} published.
  16. {?device_uri=?:<BR><B>Device URI:</B> {device_uri}}
  17.  
  18. <P><TABLE WIDTH="100%" CELLPADDING="5" SUMMARY="Actions">
  19. <TR VALIGN="TOP"><TD>
  20. <A HREF="{printer_uri_supported}?op=print-test-page">
  21. <IMG SRC="/images/button-print-test-page.gif" ALT="Print Test Page" CLASS="button"></A>
  22. {?cupscommand=1?<A HREF="{printer_uri_supported}?op=clean-print-heads">
  23. <IMG SRC="/images/button-clean-print-heads.gif" ALT="Clean Print Heads" CLASS="button"></A>
  24. <A HREF="{printer_uri_supported}?op=print-self-test-page">
  25. <IMG SRC="/images/button-print-self-test-page.gif" ALT="Print Self Test Page" CLASS="button"></A>:}</TD>
  26. <TD>{printer_state=5?
  27. <A HREF="{admin_uri}?op=start-printer&printer_name={%printer_name}">
  28. <IMG SRC="/images/button-start-printer.gif" ALT="Start Printer" CLASS="button"></A>
  29. :
  30. <A HREF="{admin_uri}?op=stop-printer&printer_name={%printer_name}">
  31. <IMG SRC="/images/button-stop-printer.gif" ALT="Stop Printer" CLASS="button"></A>
  32. }
  33. {printer_is_accepting_jobs=0?
  34. <A HREF="{admin_uri}?op=accept-jobs&printer_name={%printer_name}">
  35. <IMG SRC="/images/button-accept-jobs.gif" ALT="Accept Jobs" CLASS="button"></A>
  36. :
  37. <A HREF="{admin_uri}?op=reject-jobs&printer_name={%printer_name}">
  38. <IMG SRC="/images/button-reject-jobs.gif" ALT="Reject Jobs" CLASS="button"></A>
  39. }
  40. <A HREF="{printer_uri_supported}?op=move-jobs&printer_name={%printer_name}">
  41. <IMG SRC="/images/button-move-jobs.gif" ALT="Move All Jobs" CLASS="button"></A>
  42. <A HREF="{admin_uri}?op=purge-jobs&printer_name={%printer_name}">
  43. <IMG SRC="/images/button-cancel-all-jobs.gif" ALT="Cancel All Jobs" CLASS="button"></A></TD>
  44. <TD>{printer_is_shared=0?
  45. <A HREF="{admin_uri}?op=set-sharing&printer_name={%printer_name}&shared=1">
  46. <IMG SRC="/images/button-publish-printer.gif" ALT="Publish Printer" CLASS="button"></A>
  47. :
  48. <A HREF="{admin_uri}?op=set-sharing&printer_name={%printer_name}&shared=0">
  49. <IMG SRC="/images/button-unpublish-printer.gif" ALT="Unpublish Printer" CLASS="button"></A>
  50. }
  51. <A HREF="{admin_uri}?op=modify-printer&printer_name={%printer_name}">
  52. <IMG SRC="/images/button-modify-printer.gif" ALT="Modify Printer" CLASS="button"></A>
  53. <A HREF="{admin_uri}?op=set-printer-options&printer_name={%printer_name}">
  54. <IMG SRC="/images/button-set-printer-options.gif" ALT="Set Printer Options" CLASS="button"></A>
  55. <A HREF="{admin_uri}?op=delete-printer&printer_name={%printer_name}">
  56. <IMG SRC="/images/button-delete-printer.gif" ALT="Delete Printer" CLASS="button"></A>
  57. <A HREF="{admin_uri}?op=set-as-default&printer_name={%printer_name}">
  58. <IMG SRC="/images/button-set-as-default.gif" ALT="Set As Default" CLASS="button"></A>
  59. <A HREF="{admin_uri}?op=set-allowed-users&printer_name={%printer_name}">
  60. <IMG SRC="/images/button-set-allowed-users.gif" ALT="Set Allowed Users" CLASS="button"></A></TD>
  61. </TR>
  62. </TABLE></P>
  63. </TD>
  64. </TR>
  65. </TABLE>
  66. }}
  67.